﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 业务流程表
    /// </summary>
    public class BusinessProcesses
    {
        /// <summary>
        /// 主键
        /// </summary>
        public Guid BusinessProcessId { get; set; }

        /// <summary>
        /// 实例Id
        /// </summary>
        public string InstanceId { get; set; }

        /// <summary>
        /// 流程类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 流程Id
        /// </summary>
        public Guid? ProcessId { get; set; }

        /// <summary>
        /// 流程主题
        /// </summary>
        public string ProcessTopic { get; set; }

        /// <summary>
        /// 发起时间
        /// </summary>
        public DateTime? ProcessStartTime { get; set; }

        /// <summary>
        /// 发起人
        /// </summary>
        public Guid? ProcessStartUserId { get; set; }

        /// <summary>
        /// 发起人名称
        /// </summary>
        public string ProcessStartUserName { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        public int? ProcessStatus { get; set; }

        /// <summary>
        /// 流程状态名称
        /// </summary>
        public string ProcessStatusName { get; set; }

        /// <summary>
        /// 流程状态编码
        /// </summary>
        public string ProcessStatusCode { get; set; }

        /// <summary>
        /// 最近节点
        /// </summary>
        public string LatelyActivityName { get; set; }

        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType { get; set; }

        /// <summary>
        /// 业务类型名称
        /// </summary>
        public string BusinessTypeName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? AddTime { get; set; }

        /// <summary>
        /// 流程是否结束
        /// </summary>
        public bool? IsEnd { get; set; }

        /// <summary>
        /// 审批结束时间
        /// </summary>
        public DateTime? FinishTime { get; set; }
    }
}